﻿using System.Buffers;
using System.Collections.Generic;
namespace Xc.DataAccess.Protocoals.WaterMeters.Models.Responds
{
    internal class EmptyMeterFrameRxDataSegment : MeterFrameRxDataSegmentBase
    {
        public EmptyMeterFrameRxDataSegment(MeterFrameRx dataArea) : base(dataArea)
        {
        }

        internal override IEnumerable<FrameCommand> ValidateCmd 
        {
            get
            {
                yield break;
            }
        }

        internal override DataSegment ValidateDataSegment => DataSegment.Unknow;

        protected override bool SetData(ref SequenceReader<byte> sequenceReader)
        {
            return false;
        }
    }

}
